package com.iwe.crm.workbench.service;

import com.iwe.crm.base.bean.ResultVo;
import com.iwe.crm.user.bean.User;
import com.iwe.crm.workbench.bean.Activity;
import com.iwe.crm.workbench.bean.Clue;
import com.iwe.crm.workbench.bean.ClueActivityRelation;
import com.iwe.crm.workbench.bean.Tran;

import java.util.List;

public interface ClueService {
    List<Activity> queryActivies(String name,String clueId);

    void bind(String clueId, String aids);

    List<Activity> updateRelation(String clueId);

    void clueActivityRelation(ClueActivityRelation clueActivityRelation);

    Clue queryById(String id);

    void convert(String id, User user, String isCreateTransaction, Tran tran);

    List<Activity> queryRelatedActivity(String id, String name);
}
